package org.vaillant.todo

class Task {

	String description
	Date dateCreated
	
	static belongsTo = [owner:User]
	static hasMany = [status:StatusHistory,comments:Comment]
	
    static constraints = {
		description(blank:false,maxSize:500)
		owner(nullable:true)
    }
	
}
